package com.cgg.java8.utils;

import com.alibaba.fastjson.JSON;

import java.util.List;

/**
 * @author Xiecheng create on 2021/9/14
 */
public class Utils {
    public static void printListAsJson(List<?> list) {
        System.out.println(JSON.toJSONString(list));
    }
}
